import { $t } from "@/plugins/i18n";
import { home, porcess } from "@/router/enums";
const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");


export default {
  path: "/porcess",
  name: "Porcess",
  component: Layout,
  redirect: "/porcess",
  meta: {
    icon: "homeFilled",
    title: $t("menus.process"),
    rank: porcess
  },
  children: [
    {
      path: "/postlist",
      name: "Postlist",
      component: () => import("@/views/post/list.vue"),

      meta: {
        title: $t("menus.postlist"),
        showLink: VITE_HIDE_HOME === "true" ? false : true,
        showParent: true,

      }
    }
  ]
} as RouteConfigsTable;